<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>Linux命令概述 | 课程介绍</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../01day/section.3.1.html" />
    
    
    <link rel="prev" href="../01day/section.2.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="1.4"
        data-chapter-title="Linux命令概述"
        data-filepath="01day/section.3.md"
        data-basepath=".."
        data-revision="Thu Aug 11 2016 08:15:36 GMT+0800 (CST)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        课程介绍
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="01day/index.html">
            
                
                    <a href="../01day/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        Linux、命令
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="01day/section.1.html">
            
                
                    <a href="../01day/section.1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        认识Linux
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="01day/section.1.1.html">
            
                
                    <a href="../01day/section.1.1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        Linux的不同版本以及应用领域
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="01day/section.2.html">
            
                
                    <a href="../01day/section.2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        文件和目录
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="1.4" data-path="01day/section.3.html">
            
                
                    <a href="../01day/section.3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        Linux命令概述
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="01day/section.3.1.html">
            
                
                    <a href="../01day/section.3.1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        Linux命令-文件、磁盘管理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="01day/section.3.2.html">
            
                
                    <a href="../01day/section.3.2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        Linux命令-用户、权限管理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="01day/section.3.3.html">
            
                
                    <a href="../01day/section.3.3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        Linux命令-系统管理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="01day/section.3.4.html">
            
                
                    <a href="../01day/section.3.4.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.8.</b>
                        
                        Linux命令-练习
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="02day/index.html">
            
                
                    <a href="../02day/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        编辑器、服务器
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="02day/section.1.html">
            
                
                    <a href="../02day/section.1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        gedit编辑器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="02day/section.1.1.html">
            
                
                    <a href="../02day/section.1.1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        sublime编辑器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="02day/section.2.html">
            
                
                    <a href="../02day/section.2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        编辑器之神-vim
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="02day/section.3.html">
            
                
                    <a href="../02day/section.3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        ubuntu软件安装与卸载方法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="02day/section.4.html">
            
                
                    <a href="../02day/section.4.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        Linux常用服务器构建-ftp服务器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="02day/section.5.html">
            
                
                    <a href="../02day/section.5.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        Linux常用服务器构建-ssh和scp
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="02day/section.6.html">
            
                
                    <a href="../02day/section.6.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.7.</b>
                        
                        附录-vim分屏操作
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../" >课程介绍</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="&#x5E38;&#x7528;&#x57FA;&#x672C;&#x547D;&#x4EE4;">&#x5E38;&#x7528;&#x57FA;&#x672C;&#x547D;&#x4EE4;</h1>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-26.jpg" alt=""></p>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-27.jpg" alt=""></p>
<ul>
<li>&#x5F88;&#x591A;&#x4EBA;&#x53EF;&#x80FD;&#x5728;&#x7535;&#x89C6;&#x6216;&#x7535;&#x5F71;&#x4E2D;&#x770B;&#x5230;&#x8FC7;&#x7C7B;&#x4F3C;&#x7684;&#x573A;&#x666F;&#xFF0C;&#x9ED1;&#x5BA2;&#x9762;&#x5BF9;&#x4E00;&#x4E2A;&#x9ED1;&#x8272;&#x7684;&#x5C4F;&#x5E55;&#xFF0C;&#x4E0A;&#x9762;&#x98D8;&#x7740;&#x5BC6;&#x5BC6;&#x9EBB;&#x9EBB;&#x7684;&#x5B57;&#x7B26;&#xFF0C;&#x6886;&#x6886;&#x4E00;&#x987F;&#x6572;&#xFF0C;&#x5C31;&#x5B8C;&#x6210;&#x4E86;&#x7A83;&#x53D6;&#x8D44;&#x6599;&#x7684;&#x4EFB;&#x52A1;&#x3002;</li>
<li>Linux &#x521A;&#x51FA;&#x4E16;&#x65F6;&#x6CA1;&#x6709;&#x4EC0;&#x4E48;&#x56FE;&#x5F62;&#x754C;&#x9762;&#xFF0C;&#x6240;&#x6709;&#x7684;&#x64CD;&#x4F5C;&#x5168;&#x9760;&#x547D;&#x4EE4;&#x5B8C;&#x6210;&#xFF0C;&#x5C31;&#x5982;&#x540C;&#x7535;&#x89C6;&#x91CC;&#x7684;&#x9ED1;&#x5BA2;&#x90A3;&#x6837;&#xFF0C;&#x5145;&#x6EE1;&#x4E86;&#x795E;&#x79D8;&#x4E0E;&#x6666;&#x6DA9;&#x3002;</li>
<li>&#x8FD1;&#x51E0;&#x5E74;&#x6765;&#xFF0C;&#x5C3D;&#x7BA1; Linux &#x53D1;&#x5C55;&#x5F97;&#x975E;&#x5E38;&#x8FC5;&#x901F;&#xFF0C;&#x56FE;&#x5F62;&#x754C;&#x9762;&#x8D8A;&#x6765;&#x8D8A;&#x53CB;&#x597D;&#xFF0C;&#x4F46;&#x662F;&#x5728;&#x771F;&#x6B63;&#x7684;&#x5F00;&#x53D1;&#x8FC7;&#x7A0B;&#x4E2D;&#xFF0C;Linux &#x547D;&#x4EE4;&#x884C;&#x7684;&#x5E94;&#x7528;&#x8FD8;&#x662F;&#x5360;&#x6709;&#x975E;&#x5E38;&#x91CD;&#x8981;&#x7684;&#x5E2D;&#x4F4D;&#xFF0C;&#x800C;&#x4E14;&#x8BB8;&#x591A;Linux&#x529F;&#x80FD;&#x5728;&#x547D;&#x4EE4;&#x884C;&#x754C;&#x9762;&#x8981;&#x6BD4;&#x56FE;&#x5F62;&#x5316;&#x754C;&#x9762;&#x4E0B;&#x8FD0;&#x884C;&#x7684;&#x5FEB;&#x3002;&#x53EF;&#x4EE5;&#x8BF4;&#x4E0D;&#x4F1A;&#x547D;&#x4EE4;&#x884C;&#xFF0C;&#x5C31;&#x4E0D;&#x7B97;&#x4F1A; Linux&#x3002;</li>
<li>Linux &#x63D0;&#x4F9B;&#x4E86;&#x5927;&#x91CF;&#x7684;&#x547D;&#x4EE4;&#xFF0C;&#x5229;&#x7528;&#x5B83;&#x53EF;&#x4EE5;&#x6709;&#x6548;&#x5730;&#x5B8C;&#x6210;&#x5927;&#x91CF;&#x7684;&#x5DE5;&#x4F5C;&#xFF0C;&#x5982;&#x78C1;&#x76D8;&#x64CD;&#x4F5C;&#x3001;&#x6587;&#x4EF6;&#x5B58;&#x53D6;&#x3001;&#x76EE;&#x5F55;&#x64CD;&#x4F5C;&#x3001;&#x8FDB;&#x7A0B;&#x7BA1;&#x7406;&#x3001;&#x6587;&#x4EF6;&#x6743;&#x9650;&#x8BBE;&#x5B9A;&#x7B49;&#x3002;Linux &#x53D1;&#x884C;&#x7248;&#x672C;&#x6700;&#x5C11;&#x7684;&#x547D;&#x4EE4;&#x4E5F;&#x6709; 200 &#x591A;&#x4E2A;&#xFF0C;&#x8FD9;&#x91CC;&#x53EA;&#x4ECB;&#x7ECD;&#x6BD4;&#x8F83;&#x91CD;&#x8981;&#x548C;&#x4F7F;&#x7528;&#x9891;&#x7387;&#x6700;&#x591A;&#x7684;&#x547D;&#x4EE4;&#x3002;</li>
</ul>
<h2 id="1&#x547D;&#x4EE4;&#x4F7F;&#x7528;&#x65B9;&#x6CD5;">1.&#x547D;&#x4EE4;&#x4F7F;&#x7528;&#x65B9;&#x6CD5;</h2>
<p>Linux&#x547D;&#x4EE4;&#x683C;&#x5F0F;:</p>
<pre><code>    command  [-options]  [parameter1]  &#x2026;
</code></pre><p>&#x8BF4;&#x660E;&#xFF1A;</p>
<ul>
<li>command: &#x547D;&#x4EE4;&#x540D;,&#x76F8;&#x5E94;&#x529F;&#x80FD;&#x7684;&#x82F1;&#x6587;&#x5355;&#x8BCD;&#x6216;&#x5355;&#x8BCD;&#x7684;&#x7F29;&#x5199;
[-options]&#xFF1A;&#x9009;&#x9879;,&#x53EF;&#x7528;&#x6765;&#x5BF9;&#x547D;&#x4EE4;&#x8FDB;&#x884C;&#x63A7;&#x5236;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x7701;&#x7565;&#xFF0C;<code>[]&#x4EE3;&#x8868;&#x53EF;&#x9009;</code>
parameter1 &#x2026;&#xFF1A;&#x4F20;&#x7ED9;&#x547D;&#x4EE4;&#x7684;&#x53C2;&#x6570;&#xFF1A;&#x53EF;&#x4EE5;&#x662F;&#x96F6;&#x4E2A;&#x4E00;&#x4E2A;&#x6216;&#x591A;&#x4E2A;</li>
</ul>
<p>&#x4F8B;&#xFF1A;</p>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-28.png" alt=""></p>
<h2 id="2&#x67E5;&#x770B;&#x5E2E;&#x52A9;&#x6587;&#x6863;">2.&#x67E5;&#x770B;&#x5E2E;&#x52A9;&#x6587;&#x6863;</h2>
<h3 id="help"><1>--help</1></h3>
<p>&#x4E00;&#x822C;&#x662F;linux&#x547D;&#x4EE4;&#x81EA;&#x5E26;&#x7684;&#x5E2E;&#x52A9;&#x4FE1;&#x606F;       </p>
<p>&#x5982;&#xFF1A;ls --help</p>
<h3 id="man&#x6709;&#x95EE;&#x9898;&#x627E;&#x7537;&#x4EBA;&#xFF0C;manual"><2>man(&#x6709;&#x95EE;&#x9898;&#x627E;&#x7537;&#x4EBA;&#xFF0C;manual)</2></h3>
<p>man&#x662F;linux&#x63D0;&#x4F9B;&#x7684;&#x4E00;&#x4E2A;&#x624B;&#x518C;&#xFF0C;&#x5305;&#x542B;&#x4E86;&#x7EDD;&#x5927;&#x90E8;&#x5206;&#x7684;&#x547D;&#x4EE4;&#x3001;&#x51FD;&#x6570;&#x4F7F;&#x7528;&#x8BF4;&#x660E;</p>
<p>&#x8BE5;&#x624B;&#x518C;&#x5206;&#x6210;&#x5F88;&#x591A;&#x7AE0;&#x8282;&#xFF08;section&#xFF09;&#xFF0C;&#x4F7F;&#x7528;man&#x65F6;&#x53EF;&#x4EE5;&#x6307;&#x5B9A;&#x4E0D;&#x540C;&#x7684;&#x7AE0;&#x8282;&#x6765;&#x6D4F;&#x89C8;&#x3002;</p>
<p>&#x4F8B;&#xFF1A;man ls   ;  man 2  printf</p>
<p>man&#x4E2D;&#x5404;&#x4E2A;section&#x610F;&#x4E49;&#x5982;&#x4E0B;&#xFF1A;</p>
<ol>
<li>Standard commands&#xFF08;&#x6807;&#x51C6;&#x547D;&#x4EE4;&#xFF09;</li>
<li>System calls&#xFF08;&#x7CFB;&#x7EDF;&#x8C03;&#x7528;&#xFF0C;&#x5982;open,write&#xFF09;</li>
<li>Library functions&#xFF08;&#x5E93;&#x51FD;&#x6570;&#xFF0C;&#x5982;printf,fopen&#xFF09;</li>
<li>Special devices&#xFF08;&#x8BBE;&#x5907;&#x6587;&#x4EF6;&#x7684;&#x8BF4;&#x660E;&#xFF0C;/dev&#x4E0B;&#x5404;&#x79CD;&#x8BBE;&#x5907;&#xFF09;</li>
<li>File formats&#xFF08;&#x6587;&#x4EF6;&#x683C;&#x5F0F;&#xFF0C;&#x5982;passwd&#xFF09;</li>
<li>Games and toys&#xFF08;&#x6E38;&#x620F;&#x548C;&#x5A31;&#x4E50;&#xFF09;</li>
<li>Miscellaneous&#xFF08;&#x6742;&#x9879;&#x3001;&#x60EF;&#x4F8B;&#x4E0E;&#x534F;&#x5B9A;&#x7B49;&#xFF0C;&#x4F8B;&#x5982;Linux&#x6863;&#x6848;&#x7CFB;&#x7EDF;&#x3001;&#x7F51;&#x7EDC;&#x534F;&#x5B9A;&#x3001;ASCII &#x7801;&#xFF1B;environ&#x5168;&#x5C40;&#x53D8;&#x91CF;&#xFF09;</li>
<li>Administrative Commands&#xFF08;&#x7BA1;&#x7406;&#x5458;&#x547D;&#x4EE4;&#xFF0C;&#x5982;ifconfig&#xFF09;</li>
</ol>
<p>man&#x662F;&#x6309;&#x7167;&#x624B;&#x518C;&#x7684;&#x7AE0;&#x8282;&#x53F7;&#x7684;&#x987A;&#x5E8F;&#x8FDB;&#x884C;&#x641C;&#x7D22;&#x7684;&#x3002;</p>
<p>man&#x8BBE;&#x7F6E;&#x4E86;&#x5982;&#x4E0B;&#x7684;&#x529F;&#x80FD;&#x952E;&#xFF1A;</p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x529F;&#x80FD;&#x952E;</th>
<th>&#x529F;&#x80FD;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">&#x7A7A;&#x683C;&#x952E;</td>
<td>&#x663E;&#x793A;&#x624B;&#x518C;&#x9875;&#x7684;&#x4E0B;&#x4E00;&#x5C4F;</td>
</tr>
<tr>
<td style="text-align:center">Enter&#x952E;</td>
<td>&#x4E00;&#x6B21;&#x6EDA;&#x52A8;&#x624B;&#x518C;&#x9875;&#x7684;&#x4E00;&#x884C;</td>
</tr>
<tr>
<td style="text-align:center">b</td>
<td>&#x56DE;&#x6EDA;&#x4E00;&#x5C4F;</td>
</tr>
<tr>
<td style="text-align:center">f</td>
<td>&#x524D;&#x6EDA;&#x4E00;&#x5C4F;</td>
</tr>
<tr>
<td style="text-align:center">q</td>
<td>&#x9000;&#x51FA;man&#x547D;&#x4EE4;</td>
</tr>
<tr>
<td style="text-align:center">h</td>
<td>&#x5217;&#x51FA;&#x6240;&#x6709;&#x529F;&#x80FD;&#x952E;</td>
</tr>
<tr>
<td style="text-align:center">/word</td>
<td>&#x641C;&#x7D22;word&#x5B57;&#x7B26;&#x4E32;</td>
</tr>
</tbody>
</table>
<p><img src="../Images/01-linux&#x57FA;&#x7840;-29.png" alt=""></p>
<p>&#x6CE8;&#x610F;&#xFF1A;&#x5B9E;&#x9645;&#x4E0A;&#xFF0C;&#x6211;&#x4EEC;&#x4E0D;&#x7528;&#x6307;&#x5B9A;&#x7B2C;&#x51E0;&#x4E2A;&#x7AE0;&#x8282;&#x4E5F;&#x7528;&#x67E5;&#x770B;&#xFF0C;&#x5982;&#xFF0C;man ls</p>
<h2 id="3&#x81EA;&#x52A8;&#x8865;&#x5168;&#xFF1A;">3.&#x81EA;&#x52A8;&#x8865;&#x5168;&#xFF1A;</h2>
<p>&#x5728;&#x6572;&#x51FA;&#x547D;&#x4EE4;&#x7684;&#x524D;&#x51E0;&#x4E2A;&#x5B57;&#x6BCD;&#x7684;&#x540C;&#x65F6;&#xFF0C;&#x6309;&#x4E0B;tab&#x952E;&#xFF0C;&#x7CFB;&#x7EDF;&#x4F1A;&#x81EA;&#x52A8;&#x5E2E;&#x6211;&#x4EEC;&#x8865;&#x5168;&#x547D;&#x4EE4;</p>
<h2 id="4&#x5386;&#x53F2;&#x547D;&#x4EE4;&#xFF1A;">4.&#x5386;&#x53F2;&#x547D;&#x4EE4;&#xFF1A;</h2>
<p>&#x5F53;&#x7CFB;&#x7EDF;&#x6267;&#x884C;&#x8FC7;&#x4E00;&#x4E9B;&#x547D;&#x4EE4;&#x540E;&#xFF0C;&#x53EF;&#x6309;&#x4E0A;&#x4E0B;&#x952E;&#x7FFB;&#x770B;&#x4EE5;&#x524D;&#x7684;&#x547D;&#x4EE4;&#xFF0C;history&#x5C06;&#x6267;&#x884C;&#x8FC7;&#x7684;&#x547D;&#x4EE4;&#x5217;&#x4E3E;&#x51FA;&#x6765;</p>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../01day/section.2.html" class="navigation navigation-prev " aria-label="Previous page: 文件和目录"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../01day/section.3.1.html" class="navigation navigation-next " aria-label="Next page: Linux命令-文件、磁盘管理"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../gitbook/app.js"></script>

    
    <script src="../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
